package ca.llsutherland.squash.greeting;

import ca.llsutherland.squash.administrator.AdministratorsFixture;
import ca.llsutherland.squash.domain.Administrator;
import ca.llsutherland.squash.domain.Clock;
import ca.llsutherland.squash.domain.Greeting;
import ca.llsutherland.squash.domain.helper.GreetingsHelper;

public class GreetingsFixture {

    public static Greeting createUnpersistedGreeting(String news, Clock dateCreated, Clock dateUpdated, Clock displayDate, Clock removeDate) {
        Administrator createdBy = AdministratorsFixture.createNewAdministrator("Lindsay", "Sutherland");
        return GreetingsHelper.createUnpersistedGreeting(news, dateCreated, dateUpdated, displayDate, removeDate, createdBy);
    }

}
